.text
.data
.globl test_global_var
test_global_var:
    .long 10

.section .rodata
.align 8
.LC0:
	.string	"in extern_f function of extern.c file, and test_global_var is %d\n"

.text
.globl extern_f
.type extern_f, @function
extern_f:
    pushq %rbp
    movq %rsp, %rbp

    leaq .LC0(%rip), %rdi
    movl test_global_var(%rip), %esi
    movl $0, %eax
    call printf

    leave
    ret